
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Tama_Chan.GameEngine_ns;


namespace Tama_Chan.Entities_ns
{
   public class Teleporter : GameEntity
   {

      public Teleporter(GameEngine gameEngine, Vector2 position)
      {
         GameEngine = gameEngine;
         Texture = GameEngine.Square60x60Texture;
         Position = position;
         Color = Color.DeepSkyBlue;
         Depth = GameEngine.GatewayTeleporterDepth;
         TeleporterCurrentState = TeleporterState.Resting;
         SoundOne = gameEngine.ZzoopSoundEffect.CreateInstance();
      }


      public override void Draw()
      {
         GameEngine.Game1.SpriteBatch.Draw(Texture, Position, null, Color, 0f, Vector2.Zero, Vector2.One, SpriteEffects.None, Depth);
         base.Draw();
      }

   }
}
